<include file="Install:header" />

    <div class="setup step1">
    	<h2>{$Think.lang.install_check}</h2>
    	<p>{$Think.lang.install_check_tips}</p>
    </div>
    <div class="stepstat">
    	<ul>
    		<li class="current">1</li>
    		<li class="unactivated">2</li>
    		<li class="unactivated">3</li>
    		<li class="unactivated last">4</li>
    	</ul>
    	<div class="stepstatbg stepstat1"></div>
    </div>

</div><!-- header end -->

<div class="main">
    <fieldset>
        <legend>{$Think.lang.env_check}</legend>
        <table class="tb left">
            <tr>
            	<th>{$Think.lang.item}</th>
            	<th class="padleft">{$Think.lang.min_requirement}</th>
            	<th class="padleft">{$Think.lang.recommend}</th>
            	<th class="padleft">{$Think.lang.current}</th>
            </tr>
            <volist name="environment" id="vo">
            <tr>
                <td>{$vo.item}</td>
                <td class="padleft">{$vo.minimum}</td>
                <td class="padleft">{$vo.recommend}</td>
                <if condition="$vo['current']">
                <eq name="vo.current" value="1">
                <td class="w pdleft1">{$Think.lang.supported}</td>
                <else/>
                <td class="w pdleft1">{$vo.current}</td>
                </eq>
                <else/>
                <td class="nw pdleft1">{$Think.lang.unsupported}</td>
                </if>
            </tr>
            </volist>
        </table>
    </fieldset>

    <fieldset>
        <legend>{$Think.lang.file_perms_check}</legend>
        <table class="tb left">
            <volist name="directories" id="vo">
            <tr>
                <td>{$vo.path}</td>
                <td class="padleft">&nbsp;</td>
                <eq name="vo.writable" value="1">
                <td class="w pdleft1">{$Think.lang.writable}</td>
                <else/>
                <td class="nw pdleft1">{$Think.lang.writable}</td>
                </eq>
            </tr>
            </volist>
        </table>
    </fieldset>

    <div class="btnbox marginbot">
        <form action="__URL__/configDatabase" method="post">
            <input type="button" value="{$Think.lang.recheck}" onclick="window.location.reload();" />
            <input type="submit" value="{$Think.lang.next_step}" <eq name="status" value="0">disabled="disabled"</eq> />
        </form>
    </div>

<include file="Install:footer" />
